package cn.itsource.blog.service;



import cn.itsource.blog.domain. Community;
import cn.itsource.blog.query. CommunityQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ICommunityService {
    void add( Community  community);
    void update( Community  community);
    void delete(Long id);
     Community getOne(Long id);
    List< Community> getAll();

    void patchDelete(Long[] ids);

    PageInfo< Community> pageQuery( CommunityQuery query);
    List<Community> getCommunityRanking();
}
